package _99练习;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
public class Exercise {
    public static void main(String[] args) {
        try{
            URL url = new URL("http://t.weather.itboy.net/api/weather/city/101190201");
            
            InputStreamReader isReader =  new InputStreamReader(url.openStream(),"UTF-8");
            
            BufferedReader br = new BufferedReader(isReader);
            
            String str;
            
            while((str = br.readLine()) != null)
            {
            	
               String regex="\\p{Punct}+";
                
                String s[]=str.split(regex);
                
                System.out.println('\n'+":"+s[22]+s[18]);
                System.out.println('\n'+"¶:"+s[47]+"~"+s[45]);
                System.out.println('\n'+":"+s[67]+" "+s[63]+s[65]);
                       
            }
            br.close();
            isReader.close();
        }
        catch(Exception exp){
            System.out.println(exp);
        }
    }
}